/*
 * @Author: xiaxia
 * @Description: 
 * @Date: 2024-06-13 17:28:13
 * @LastEditTime: 2024-06-13 17:28:31
 * @FilePath: \project\scritps\preinstall.js
 */
if (!/pnpm/.test(process.env.npm_execpath || '')) {
  console.warn(
    `\u001b[33mThis repository must using pnpm as the package manager ` +
    ` for scripts to work properly.\u001b[39m\n`,
  )
  process.exit(1)
}